"""
@author: Smartloe
@create: 2022-05-07 14:44
"""
import requests

cookies = {
    'Cookie:uid': '15406648',
    'username': '%E6%9C%89%E5%BA%AD%E6%A0%91',
    'token': 'c9dd0920CXUZ28igB4w6ColMJbg266eqORIeT4IufTtlkpIqcyBJFuo4EEJVzWrFX49s9EJNfMSEZux6RCLxi0j2xwylmYgnmYyk4Uk2GZ7fkxFOsEF60K6tOt0TRvRF32Hlryy0FcAsUnaFG9uDixhBB7ep15NIXSBFJkHvatUgmcASe99u4uk7tmwpbSJy3GZNfbjkiFYDty6_V33WpuMxTwtvlw',
}

headers = {
    'User-Agent': 'Dalvik/2.1.0 (Linux; U; Android 7.1.2; M2006J10C Build/N6F26Q) (#Build; Redmi; M2006J10C; N6F26Q release-keys; 7.1.2) +CoolMarket/12.2.1-2204291-universal',
    'X-Requested-With': 'XMLHttpRequest',
    'X-Sdk-Int': '25',
    'X-Sdk-Locale': 'zh-CN',
    'X-App-Id': 'com.coolapk.market',
    'X-App-Token': 'v2JDJ5JDEwJE1UWTFNVGt3TlRVME53L2ZlMGYzMHVELjRSYktYU3F1c0RKeEZNcHl1NVVQOGhQNVBrR1RT',
    'X-App-Version': '12.2.1',
    'X-App-Code': '2204291',
    'X-Api-Version': '12',
    'X-App-Device': 'wGb15GI7MXeltWLlNXYlxWZyBSU2IjR24EI7MEMxokNwAjMNByOp1GZlJFI7kWbvFWaYByOzMjO3YjOyUjO2UjO0MjOyEDI7AyOgszM2ETMwYGZwUmN2QjZ1cDZ',
    'X-Dark-Mode': '0',
    'X-App-Channel': 'coolapk',
    'X-App-Mode': 'universal',
    'X-App-Supported': '2204291',
    'Host': 'api2.coolapk.com',
    'Connection': 'Keep-Alive',
    'Accept-Encoding': 'gzip',
}

params = (
    ('id', '35689523'),
    ('listType', 'lastupdate_desc'),
    ('page', '1'),
    ('discussMode', '1'),
    ('feedType', 'feed'),
    ('blockStatus', '0'),
    ('fromFeedAuthor', '0'),
)

response = requests.get('https://api2.coolapk.com/v6/feed/replyList', headers=headers, params=params, cookies=cookies)

print(response.json())